package com.example.weatherview.client;


import com.example.citycommon.dto.WeatherResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("weather-api")
public interface WeatherClient {

    @RequestMapping("/search")
    WeatherResponse search(@RequestParam String cityid);
}
